package jnpf.service;

import jnpf.model.knowmange.*;
import jnpf.entity.*;
import java.util.*;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

/**
 * knowMange
 * 版本： V3.5
 * 版权： 引迈信息技术有限公司（https://www.jnpfsoft.com）
 * 作者： JNPF开发平台组
 * 日期： 2025-05-19
 */
public interface KnowMangeService extends IService<KnowMangeEntity> {
    List<KnowMangeEntity> getList(KnowMangePagination knowMangePagination);

    List<KnowMangeEntity> getTypeList(KnowMangePagination knowMangePagination,String dataType);

    KnowMangeEntity getInfo(String id);

    void delete(KnowMangeEntity entity);

    void create(KnowMangeEntity entity);

    boolean update(String id, KnowMangeEntity entity);

    //子表方法
    List<FileMangeEntity> getFileMangeList(String id,KnowMangePagination knowMangePagination);

    List<FileMangeEntity> getFileMangeList(String id);

    //副表数据方法
	String checkForm(KnowMangeForm form,int i);

    KnowMangeEntity saveOrUpdate(KnowMangeForm knowMangeForm,String id, boolean isSave) throws Exception;

    void updateDatasetId(String id, String datasetId);

    List<KnowMangeEntity> getByIds(List<String> knowIds);

    void getSetAmount(String knowid);
}
